Optimal Parallel Hypercube Algorithms for Polygon Problems
نویسندگان
چکیده
We present parallel techniques on hypercubes for solving optimally a class of polygon problems. We thus obtain optimal O(logn)-lime, n-processor hypercube algorithms for the problems of computing the portions of an n-vertex simple polygonal chain C that are visible from a given source point, computing the convex hull of C, testing an n-verlex simple polygon P for monotonicity, and other related problems as well. Previously it was not known how to achieve these complexity bounds on hypercubes, one of the main difficulties being that there is no known optimal sorting hypercube algorithm that achieves these bounds. In fad these are the first optimal geometric hypercube algorithIIl5 that do not assume that the input is given already sorted by x or y coordinates. The hypercube model we use is the standard one, with 0(1) local memory per processor, and with one-port communication.
منابع مشابه
A New Parallel Matrix Multiplication Method Adapted on Fibonacci Hypercube Structure
The objective of this study was to develop a new optimal parallel algorithm for matrix multiplication which could run on a Fibonacci Hypercube structure. Most of the popular algorithms for parallel matrix multiplication can not run on Fibonacci Hypercube structure, therefore giving a method that can be run on all structures especially Fibonacci Hypercube structure is necessary for parallel matr...
متن کاملAll Nearest Smaller Values on the Hypercube
Given a sequence of n elements, the All Nearest Smaller Values (ANSV) problem is to nd, for each element in the sequence, the nearest element to the left (right) that is smaller, or to report that no such element exists. Time and work optimal algorithms for this problem are known on all the PRAM models 3], 5], but the running time of the best previous hypercube algorithm 6] is optimal only when...
متن کاملOptimal Mesh Algorithms for Proximity and Visibility Problems in Simple Polygons*
We present optimal parallel algorithms that run in O p n time on a p n pn mesh connected computer for a number of fundamental problems concerning proximity and vis ibility in a simple polygon These include computing shortest paths shortest path trees shortest path partitions all farthest neighbors the visibility polygon of a point the weak visibility polygon of an edge and the ray shooting problem
متن کاملNovel Data Communication Algorithms on Hypercubes and Related Interconnection Networks and Their Applications in Computational Geometry
We present several novel data communication algorithms for hypercubes. Speci cally, we obtain (1) an algorithm that broadcasts m messages of unit size on a hypercube of size N in optimal time O(m + logN); and (2) algorithms for special cases of computing m pre x sums, also in optimal time O(m + logN). Unlike previous algorithms for performing similar tasks, our schemes require no use of pipelin...
متن کاملAn optimal hypercube algorithm for the all nearest smaller values problem
Given a sequence of n elements, the All Nearest Smaller Values (ANSV) problem is to nd, for each element in the sequence, the nearest element to the left (right) that is smaller, or to report that no such element exists. Time and work optimal algorithms for this problem are known on all the PRAM models 4, 6], but the running time of the best previous hypercube algorithm 9] is optimal only when ...
متن کامل